import {Routes} from '@angular/router';


import { CourseslistComponent } from './courseslist/courseslist.component';
import { CardlistComponent } from './cardlist/cardlist.component';
import { CardlistlocalComponent } from './cardlistlocal/cardlistlocal.component';
import { FaqComponent } from './faq/faq.component';
import { FeedbackComponent } from './faq/feedback.component';

export const rootRouterConfig: Routes = [
  {
    path:'',
    redirectTo:'cardlistloacl',
    pathMatch:'full'
  },
  {
    path:'cardlist',
    component:CardlistComponent
  },
  {
    path:'courseslist/:childId',
    component:CourseslistComponent
  },
  {
    path:'faq/:id',
    component:FaqComponent
  },
  {
    path:'feedback',
    component:FeedbackComponent
  },
  {
    path:'cardlistloacl',
    component:CardlistlocalComponent
  }
];
